﻿using SportsPlatform.BaseModels;
using SportsPlatform.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 项目表
    /// </summary>
    [Table("T_B_Project")]
    public class Project: BaseModel
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        [Required]
        [Column(TypeName = "varchar(50)")]
        public string Name { get; set; }
        /// <summary>
        /// 所属类别
        /// </summary>
        public Guid ProjectTypeID { get; set; }
        /// <summary>
        /// 状态（0：禁用；1：启用）
        /// </summary>
        [Required]
        public int State { get; set; }
    }
}
